package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.example.entity.SysCategory;
import org.example.entity.SysDept;
import org.example.entity.SysSubCategory;

import java.util.List;

@Mapper
public interface SysSubCategoryMapper extends BaseMapper<SysSubCategory> {

    void deleteByCategoryId(Long id);

    List<SysSubCategory> getListByGridCategoryId(Integer id);

    List<SysSubCategory>  getSubCategoryData();

}

